package com.namecard.namecardapi.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.namecard.namecardapi.entity.DTO.CommentDto;
import com.namecard.namecardapi.entity.TComment;

public interface TCommentService extends IService<TComment> {

    //发表评论
    int insertComment(CommentDto comment);


    //查评论
    IPage<TComment> selectPage(Page<TComment> pageParam, Long commodityId);
}
